package com.mk.common.quartz;

import java.util.Date;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;

import com.mk.common.util.DateUtil;

/**
 * 定时任务 demo
 * @author 上官雅晴
 *
 */
public class QuartzTask implements Job{
	
	@Override
	public void execute(JobExecutionContext arg0) throws JobExecutionException {
		
		Date now = new Date();
		System.out.println("定时任务... "+DateUtil.ymd_hms.format(now));
	}

}
